package com.ronghui.cash.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author wiki
 * @since 2017-12-06
 */
@TableName("auth_contact")
public class AuthContact extends Model<AuthContact> {

    private static final long serialVersionUID = 1L;

	private Long id;
    /**
     * 姓名
     */
	private String name;
    /**
     * 联系电话
     */
	private String phone;
    /**
     * 关系类型（父母：101，配偶：102，兄弟：103，姐妹：104，朋友：105，同事：106，亲戚：107）

     */
	private Integer type;
    /**
     * 联系人等级（1：常用联系人，2：紧急联系人）
     */
	private Integer level;
	@TableField("user_id")
	private Long userId;
    /**
     * 创建时间
     */
	@TableField("create_time")
	private String createTime;
    /**
     * 状态
     */
	private Integer status;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Integer getLevel() {
		return level;
	}

	public void setLevel(Integer level) {
		this.level = level;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
